//
//  SEMineViewModel.swift
//  SmartEyeForDoctor
//
//  Created by qdsg on 2021/5/4.
//

import UIKit

class SEMineViewModel: SEBaseViewModel {

    var userInfoViewModel = SEUserInfoViewModel(withLoading: false)

    var entranceArray: [SEMineEntranceCvCellModel] {
        return [
            SEMineEntranceCvCellModel(title: "问诊设置", image: Asset.profileWzszIcon.image),
            SEMineEntranceCvCellModel(title: "处方模版", image: Asset.profileCfmbIcon.image),
            SEMineEntranceCvCellModel(title: "我的名片", image: Asset.profileWdmpIcon.image),
//            SEMineEntranceCvCellModel(title: "意见反馈", image: Asset.profileYjfkIcon.image),
            SEMineEntranceCvCellModel(title: "系统设定", image: Asset.profileXtsdIcon.image),
        ]
    }

    func requestUserInfo() {
        userInfoViewModel.requestUserInfo()
        userInfoViewModel.updateData = self.updateData
    }

}
